const path = require('path')
module.exports = {
    /*这里省略entry和output，参照上面写的内容*/
    devServer: {
        contentBase: path.join(__dirname, "dist"),
        overlay: {
             warnings: false,
                 errors: true
        },
        disableHostCheck: true,
        // proxy: {
        //     '/api': {
        //         target: 'http://127.0.0.1:8360/api', //服务器地址
        //         changeOrigin: true,
        //     }
        // },
    },
    publicPath:'./',
    
}